package o;

import com.huawei.appgallery.serverreqkit.api.bean.ResponseBean;
import com.huawei.appgallery.serverreqkit.api.listener.IServerCallBack;
import o.crh.b;

public class crp implements IServerCallBack {
    public void prePostResult(BaseRequest o_cvu, ResponseBean responseBean) {
    }

    public void notifyResult(BaseRequest o_cvu, ResponseBean responseBean) {
        if (responseBean.getResponseCode() == 0 && responseBean.getRtnCode_() == 0) {
            cro.ˏ().ˎ(((crz) responseBean).ˎ());
        } else if (responseBean.getRtnCode_() == 600010) {
            cso.ˊ(cro.ˏ().ˎ(), b.ʼॱ);
            cro.ˏ().ˏ(2);
        } else {
            crf.ˎ.ˏ("FreeCollectionCallBack", "Free Collection Failure. status=" + responseBean.getRtnCode_());
            cso.ˎ(responseBean.getResponseCode(), responseBean.getRtnCode_(), true);
        }
    }
}
